<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>Freetype OpenGL: vec4 Union Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="style.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="content"><!-- do not remove this div! -->

<div id="top"><!-- do not remove this div! -->

  
  <div id="titlearea">
    
    <div id="projectname">Freetype OpenGL</div>
    
    
    <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
    
  </div>
  

<!--

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Freetype OpenGL
   &#160;<span id="projectnumber">0.1</span>
   </div>
   <div id="projectbrief">A high quality OpenGL text rendering engine for C</div>
  </td>
  
  
  
   
  
 </tr>
 </tbody>
</table>
</div>
-->


<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript" src="dynsections.js"></script>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle">
<div class="title">vec4 Union Reference</div>  </div>
</div><!--header-->
<div class="contents">
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Tuple of 4 floats. </p>
<p>Each field can be addressed using several aliases:</p>
<ul>
<li>First component: <b>x</b>, <b>r</b> or <b>red</b></li>
<li>Second component: <b>y</b>, <b>g</b> or <b>green</b></li>
<li>Third component: <b>z</b>, <b>b</b>, <b>blue</b> or <b>width</b></li>
<li>Fourth component: <b>w</b>, <b>a</b>, <b>alpha</b> or <b>height</b> </li>
</ul>
<dl><dt><b>Examples: </b></dt><dd><a class="el" href="demo-ansi_8c-example.html#_a2">demo-ansi.c</a>, <a class="el" href="demo-atb-agg_8c-example.html#_a25">demo-atb-agg.c</a>, <a class="el" href="demo-benchmark_8c-example.html#_a3">demo-benchmark.c</a>, <a class="el" href="demo-cartoon_8c-example.html#_a0">demo-cartoon.c</a>, <a class="el" href="demo-console_8c-example.html#_a0">demo-console.c</a>, <a class="el" href="demo-font_8c-example.html#_a3">demo-font.c</a>, <a class="el" href="demo-gamma_8c-example.html#_a8">demo-gamma.c</a>, <a class="el" href="demo-markup_8c-example.html#_a4">demo-markup.c</a>, <a class="el" href="demo-outline_8c-example.html#_a30">demo-outline.c</a>, and <a class="el" href="demo-subpixel_8c-example.html#_a8">demo-subpixel.c</a>.</dd>
</dl></div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ae40016fa97400690251b4438d7f89a67"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae40016fa97400690251b4438d7f89a67"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="unionvec4.html#ae40016fa97400690251b4438d7f89a67">data</a> [4]</td></tr>
<tr class="memdesc:ae40016fa97400690251b4438d7f89a67"><td class="mdescLeft">&#160;</td><td class="mdescRight">All compoments at once. <br/></td></tr>
<tr class="memitem:a1f689e475089fa6893c9dedd5cfb79c3"><td class="memItemLeft" ><a class="anchor" id="a1f689e475089fa6893c9dedd5cfb79c3"></a>
struct {</td></tr>
<tr class="memitem:af01d21250bb1dbc8d6dd09263be36133"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a36c650782a67137380c83b01545c94d6">x</a></td></tr>
<tr class="memdesc:af01d21250bb1dbc8d6dd09263be36133"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:aaf8e7477eaed1ad2d54c0d498475b6c5"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a7328fe0e502fce92fa32016193052e92">y</a></td></tr>
<tr class="memdesc:aaf8e7477eaed1ad2d54c0d498475b6c5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo second component. <br/></td></tr>
<tr class="memitem:a00371d8e41f6b25de0f46864198f2878"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a12b318751110db034dddc450cdec455d">z</a></td></tr>
<tr class="memdesc:a00371d8e41f6b25de0f46864198f2878"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo third component. <br/></td></tr>
<tr class="memitem:a7c5b8bc8478c5deb73391f2d802e2ff3"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a0c92fe67e490d9768217a00c2e8abd49">w</a></td></tr>
<tr class="memdesc:a7c5b8bc8478c5deb73391f2d802e2ff3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo fourth component. <br/></td></tr>
<tr class="memitem:a1f689e475089fa6893c9dedd5cfb79c3"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memitem:a03e718f8a70b12a9470a8e6b97b750d0"><td class="memItemLeft" ><a class="anchor" id="a03e718f8a70b12a9470a8e6b97b750d0"></a>
struct {</td></tr>
<tr class="memitem:a9ab7095af1240995dbe4985e0eeaf4c2"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a251fc1cdd28e043e28288e7ec476577d">x_</a></td></tr>
<tr class="memdesc:a9ab7095af1240995dbe4985e0eeaf4c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:a8cf7d22702b119d6f7e05e0640065a67"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a82f73c624c09cef58f8c3005809ca6f7">y_</a></td></tr>
<tr class="memdesc:a8cf7d22702b119d6f7e05e0640065a67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo second component. <br/></td></tr>
<tr class="memitem:a931f281d58d5844f100d191cb6fb8eba"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#ad970de856a9801a9bc96dabda54fb556">width</a></td></tr>
<tr class="memdesc:a931f281d58d5844f100d191cb6fb8eba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo third component. <br/></td></tr>
<tr class="memitem:ac6820784e93f093f94571ef1d7f9faa9"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a68a01e2e3c5caed546a6ef39c9763e17">height</a></td></tr>
<tr class="memdesc:ac6820784e93f093f94571ef1d7f9faa9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo fourth component. <br/></td></tr>
<tr class="memitem:a03e718f8a70b12a9470a8e6b97b750d0"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memitem:a0d7b2cb65afd7e03c36233c47be911d9"><td class="memItemLeft" ><a class="anchor" id="a0d7b2cb65afd7e03c36233c47be911d9"></a>
struct {</td></tr>
<tr class="memitem:a6e615a33e21d1e0c977084e27758e2ed"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a1682827e4304b44e6f768d616cdf3899">r</a></td></tr>
<tr class="memdesc:a6e615a33e21d1e0c977084e27758e2ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:a301058de061dc9222539314c0181ddd7"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#aa626a2728056a1b410fb8e133bdffd05">g</a></td></tr>
<tr class="memdesc:a301058de061dc9222539314c0181ddd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo second component. <br/></td></tr>
<tr class="memitem:ae1e99bb6575f5c1078dff89d85710092"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a62421478df6548c8e5e24d33345e3417">b</a></td></tr>
<tr class="memdesc:ae1e99bb6575f5c1078dff89d85710092"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo third component. <br/></td></tr>
<tr class="memitem:a6cee3385068eeac8f4b822e5a9026aa6"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#ac1c847c2cd65c10fd059fceb8e57a5f6">a</a></td></tr>
<tr class="memdesc:a6cee3385068eeac8f4b822e5a9026aa6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo fourth component. <br/></td></tr>
<tr class="memitem:a0d7b2cb65afd7e03c36233c47be911d9"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
<tr class="memitem:a0068b75012e3bcdabdf79b25ee7b8324"><td class="memItemLeft" ><a class="anchor" id="a0068b75012e3bcdabdf79b25ee7b8324"></a>
struct {</td></tr>
<tr class="memitem:a7e7192f7560b9b93e09745091b9b3ff6"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#a217cd1d02c6d3ca6892f0df6542212f7">red</a></td></tr>
<tr class="memdesc:a7e7192f7560b9b93e09745091b9b3ff6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias for first component. <br/></td></tr>
<tr class="memitem:a85dfde0b6a1cf0bd896e762b5e3fce2e"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#ac5b751220d5788595e9409ef2a40faf3">green</a></td></tr>
<tr class="memdesc:a85dfde0b6a1cf0bd896e762b5e3fce2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo second component. <br/></td></tr>
<tr class="memitem:a4b9a238bbe643aac6c81cb9d677b5573"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#ab68efbfaadd2ce9a9fae04cbbd3db839">blue</a></td></tr>
<tr class="memdesc:a4b9a238bbe643aac6c81cb9d677b5573"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo third component. <br/></td></tr>
<tr class="memitem:af28586ec5e41e1858e7bd6362746b59b"><td class="memItemLeft" >&#160;&#160;&#160;float&#160;&#160;&#160;<a class="el" href="unionvec4.html#ad5ffee1a120a0856cdab9c03882a7401">alpha</a></td></tr>
<tr class="memdesc:af28586ec5e41e1858e7bd6362746b59b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Alias fo fourth component. <br/></td></tr>
<tr class="memitem:a0068b75012e3bcdabdf79b25ee7b8324"><td class="memItemLeft" valign="top">};&#160;</td><td class="memItemRight" valign="bottom"></td></tr>
</table>
</div><!-- contents -->
</div>
</body>
</html>
